package com.beiming.libra.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Auther: tyrion
 * @Date: 2018/6/11 09:50
 * @Description: 文书上传实体类
 */
@Data
@ApiModel("文书详细信息")
public class ArbitrationBookAttachment extends BaseObject {


  /**
   * 关键案件id
   */
  @ApiModelProperty(value = "案件ID")
  private String caseId;

  /**
   * 文件名
   */
  @ApiModelProperty(value = "文书名称")
  private String name;

  /**
   * 文书类型 关联枚举DocumentTypeEuem
   */
  @ApiModelProperty(value = "文书类型:"
      + "  ACCEPT_INFORM_BOOK(\"01\", \"受理通知书\"),\n"
      + "  PROOF_PROVIDE_BOOK(\"04\", \"举证通知书\"),\n"
      + "  FEE_APPROVAL_BILL(\"07\", \"仲裁费审定单\"),\n"
      + "  JUDGE_INFORM_BOOK(\"10\", \"应裁通知书\"),\n"
      + "  ARBITRATION_APPLY_BOOK(\"12\", \"仲裁申请书\"),\n"
      + "  ARBITRATION_ANSWER_BOOK(\"15\", \"仲裁答辩书\"),\n"
      + "  END_CASE_BOOK(\"18\", \"结案文书\"),\n"
      + "  WITHDRAWN_DECIDE_BOOK(\"21\", \"撤案决定书\");")
  private String docType;

  /**
   * 附件url
   */
  @ApiModelProperty(value = "文书URL")
  private String url;

  /**
   * 文件来源0：手动上传 1：后台生成，默认 1
   */
  private String source;

  /**
   * 关联用户id ，预留区分
   */
  private String userId;


}